import { RouteDefinition } from "@solidjs/router";
import { lazy } from "solid-js";

const PackageRoute: RouteDefinition = {
  path: "/package",
  children: [
    {
      path: "/",
      component: lazy(() => import("./List")),
    },
    {
      path: "/installed",
      component: lazy(() => import("./Installed")),
    },
  ],
};

export default PackageRoute;
